<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--/*@thymesVar id="title" type=""*/-->
    <title th:replace="${title}">博客详情</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../../static/plugin/editormd/css/editormd.css" th:href="@{/plugin/editormd/css/editormd.css}">
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
</head>
<body>

<!--导航-->
<nav th:fragment="menu(n)" class="ui inverted attached segment me-padded-tb-mini">
    <div class="ui container">
        <div class="ui inverted secondary menu stackable">
            <h2 class="ui teal header item">后台管理</h2>
            <a href="#" th:href="@{/admin/blogs}" class=" ui browse me-item item me-mobile-hide" th:classappend="${n==1} ? 'active'">
                <i class="home icon"></i>
                博客
            </a>
            <a href="#" th:href="@{/admin/types}" class=" me-item item me-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="idea icon"></i>分类</a>
            <a href="#" th:href="@{/admin/tags}" class=" me-item item me-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="tags icon"></i>标签</a>
            <div class="right menu me-item item me-mobile-hide">
                <div class="ui user dropdown item">
                    <div class="text">
                        <img src="../../static/image/1.png" alt="" class="ui avatar image">
                        杨瑞卿
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" th:href="@{/admin/logout}" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <a href="#" class="ui menu toggle black button icon me-top-right me-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!--导航-->

<footer th:fragment="footer" class="ui inverted vertical segment me-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../../static/image/wechat.png" alt="" class="ui rounded image" style="width: 110px">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">算法竞赛进阶指南 </a>
                    <a href="#" class="item">分布式协调系统 zookeeper</a>
                    <a href="#" class="item">消息队列 kafka</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header">联系方式</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">Email:yrq991121@163.com</a>
                    <a href="#" class="item">QQ:1193700079</a>
                    <a href="#" class="item">Github</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header">网站简介</h4>
                <p>我的个人技术博客，练习一下Springboot，对于后端技术主要是操作系统和数据库这一块的理论知识，做网页纯属技术爱好，前端技术主要是UI设计，用户交互，要具备优秀的艺术欣赏水平，偶尔接私活，需要的微信扫码加我联系
                </p>
            </div>
        </div>
        <div class="ui inverted section divider">
        </div>
        <p class="m-text-lined m-text-spaced m-text-thin m-opacity-mini">Copyright @ 2020 - 2021 Blog_Daniel
            Designed by yrq
            <br>
            来自华北理工大学的技术宅
        </p>
    </div>

</footer>

<th:block th:fragment="script">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
    <script src="../../static/plugin/editormd/editormd.min.js" th:src="@{/plugin/editormd/editormd.min.js}"></script>
</th:block>

</body>
</html>